package cn.acyou.leo.user.prop;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

/**
 * @author fangyou
 * @version [1.0.0, 2021-08-02 17:10]
 */
@Data
@Component
@ConfigurationProperties(prefix = "app", ignoreUnknownFields = false)
@RefreshScope
public class AppProperty implements Serializable {

    private String price;

    private String url;

    private List<String> hotCitys;

}
